package com.tnl.app.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.tnl.app.entity.CompanyTrend;
import com.tnl.base.BaseDAO;

@Repository
public class CompanyTrendDAO {

	public List<CompanyTrend> getListByCompanyId(int id) {
		String sql = "select * from tb_company_trend where companyId = ?";
		return BaseDAO.queryForList(CompanyTrend.class, sql, id);
	}
	
}
